package com.zhu.salesmanagement.provider;

import android.net.Uri;
import android.provider.BaseColumns;

public class SalesSettings {

    public static final class StoreCheckInfoColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + SalesProvider.AUTHORITY +
                "/" + SalesProvider.TABLE_STOCKCHECKINFO +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                SalesProvider.AUTHORITY + "/" + SalesProvider.TABLE_STOCKCHECKINFO +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + SalesProvider.AUTHORITY +
                    "/" + SalesProvider.TABLE_STOCKCHECKINFO + "/" + id + "?" +
                    SalesProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        public static final String DTASKACTUALID = "sDatingTaskActualID";
        public static final String STOREID = "sCustomerID";
        public static final String TYPEID = "sProductCategoryID";
        public static final String PLACE = "iShelfCount";
        public static final String FLOOR = "iShelfLayer";
        public static final String SIDE = "iShelfArea";
        public static final String TYPE = "sShelfType";
        public static final String GOODS = "sCrcs";
        public static final String JINGPIN = "sCompetitionMSG";
        public static final String IMPORTINFO = "sImportantMSG";
        public static final String DATATYPE = "iDatatype";
    }

    public static final class StorePhotosColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + SalesProvider.AUTHORITY +
                "/" + SalesProvider.TABLE_STOREPHOTOS +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                SalesProvider.AUTHORITY + "/" + SalesProvider.TABLE_STOREPHOTOS +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + SalesProvider.AUTHORITY +
                    "/" + SalesProvider.TABLE_STOREPHOTOS + "/" + id + "?" +
                    SalesProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        public static final String PHOTOSOURCE = "sPhotoSource";
        public static final String STOREID = "sCustomerId";
        public static final String DTASKACTUALID = "sDatingTaskActualID";
        public static final String DATA = "data";
        public static final String SORT = "iSort";
        public static final String PHOTO_LNG = "decPhotoLongitude";
        public static final String PHONO_LAT = "decPhotoLatitude";
        public static final String PHONO_TAKETIME = "dShootDate";
    }

    public static final class MyAddStoresColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + SalesProvider.AUTHORITY +
        		"/" + SalesProvider.TABLE_MYADDSTORES +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
        		SalesProvider.AUTHORITY + "/" + SalesProvider.TABLE_MYADDSTORES +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + SalesProvider.AUTHORITY +
                    "/" + SalesProvider.TABLE_MYADDSTORES + "/" + id + "?" +
                    SalesProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        public static final String NAME = "sStoreName";
        public static final String ADDRESS = "sStoreAddress";
        public static final String CONTACT = "sStoreContact";
        public static final String MOBILE = "sStoreTel";
        public static final String TYPE = "sStoreType";
        public static final String PHOTO = "photo";
        public static final String LAT = "sLat";
        public static final String LNG = "sLng";
        public static final String SP1 = "sSp1";
        public static final String SP2 = "sSp2";
        public static final String SP3 = "sSp3";
        public static final String SP4 = "sSp4";
        public static final String SP5 = "sSp5";
        public static final String SP6 = "sSp6";
        public static final String SP7 = "iSp7";
        public static final String SP8 = "iSp8";
        public static final String SP9 = "iSp9";
        public static final String SP10 = "iSp10";
        public static final String SP11 = "iSp11";
        public static final String SP12 = "iSp12";
        public static final String SP13 = "iSp13";
        public static final String SP14 = "sSp14";
        public static final String STOREID = "sCustomerId";
    }

    public static final class RemindsColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + SalesProvider.AUTHORITY +
                "/" + SalesProvider.TABLE_REMINDS +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                SalesProvider.AUTHORITY + "/" + SalesProvider.TABLE_REMINDS +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + SalesProvider.AUTHORITY +
                    "/" + SalesProvider.TABLE_REMINDS + "/" + id + "?" +
                    SalesProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        public static final String EMPLOYEEID = "sEmployeeID";
        public static final String MESSAGEID = "iRemindMSGID";
        public static final String TEXT = "sRemindMSGText";
        public static final String TIME = "dRemindTime";
        public static final String TYPE = "iCycleCategory";
        public static final String CUSTOMERID = "sCustomerID";
        public static final String EVENTID = "sEventid";
        public static final String DEADTIME = "dRemindDeadline";
    }

    public static final class VisitedStoresColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + SalesProvider.AUTHORITY +
                "/" + SalesProvider.TABLE_VISITEDSTORES +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                SalesProvider.AUTHORITY + "/" + SalesProvider.TABLE_VISITEDSTORES +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + SalesProvider.AUTHORITY +
                    "/" + SalesProvider.TABLE_VISITEDSTORES + "/" + id + "?" +
                    SalesProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        public static final String EMPLOYEEID = "sEmployeeID";
        public static final String TASKID = "iDatingTaskID";
        public static final String TASTDATE = "dPlanningDate";
        public static final String DTASKACTUALID = "sDatingTaskActualID";
        public static final String AEMPLOYEEID = "sAssignedEmployeeID";
        public static final String ITEMNO = "iItemNo";
        public static final String STOREID = "sCustomerID";
        public static final String VISITCATEGOR = "iVisitCategory";
        public static final String CHECKIN_LAT = "sCheckinlat";
        public static final String CHECKIN_LNG = "sCheckinlng";
        public static final String CHECKIN_TIME = "sCheckintime";
        public static final String CHECKOUT_LAT = "checkoutlat";
        public static final String CHECKOUT_LNG = "checkoutlng";
        public static final String CHECKOUT_TIME = "checkouttime";
        public static final String CHECKRESULT = "sCheckresult";
        public static final String CHECKRINFO = "sCheckinfo";
        public static final String PUTSTATUS = "iPutStatus";
        public static final String PUTSUCCESS = "iPutSuccess";

    }

    public static final class CustomerSColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + SalesProvider.AUTHORITY +
                "/" + SalesProvider.TABLE_CUSTOMERS +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                SalesProvider.AUTHORITY + "/" + SalesProvider.TABLE_CUSTOMERS +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + SalesProvider.AUTHORITY +
                    "/" + SalesProvider.TABLE_CUSTOMERS + "/" + id + "?" +
                    SalesProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        public static final String CUSTOMER_ID = "sCustomerID";
        public static final String CUSTOMER_NAME = "sCustomerName";
        public static final String CUSTOMER_AREAID = "sAreaID";
        public static final String CUSTOMER_LAT = "decLatitude";
        public static final String CUSTOMER_LNG = "decLongitude";
        public static final String CUSTOMER_VISITCODE = "iVisitCategory";
        public static final String CUSTOMER_ADDRESS = "sCustomerAddress";
        public static final String CUSTOMER_PROPERTY = "iStorePropertyInquire";
        public static final String CUSTOMER_CRCNEARTIME = "sCRCNearTime";
        public static final String CUSTOMER_SCNEARTIME = "sSCNearTime";
        public static final String CUSTOMER_DEALERID = "sDealtEmployeeID";
        public static final String CUSTOMER_DEALERNAME = "sDealtSalesPerson";
        public static final String CUSTOMER_SLEVEL = "sStoreLevel";
        public static final String CUSTOMER_SCATEGORT = "sStoreCategory";
        public static final String CUSTOMER_ADDTIME = "dAddTime";
        public static final String IMPORTANTINFO = "sImportantMSG";

    }

    public static final class ProductCategoryColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + SalesProvider.AUTHORITY +
                "/" + SalesProvider.TABLE_PRODUCTCATEGORYS +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                SalesProvider.AUTHORITY + "/" + SalesProvider.TABLE_PRODUCTCATEGORYS +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + SalesProvider.AUTHORITY +
                    "/" + SalesProvider.TABLE_PRODUCTCATEGORYS + "/" + id + "?" +
                    SalesProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        public static final String PRODUCTCATEGORY_NAME = "sProductCategory";
        public static final String PRODUCTCATEGORY_ID = "sProductCategoryID";
    }

    public static final class ProductsColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + SalesProvider.AUTHORITY +
                "/" + SalesProvider.TABLE_PRODUCTS +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                SalesProvider.AUTHORITY + "/" + SalesProvider.TABLE_PRODUCTS +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + SalesProvider.AUTHORITY +
                    "/" + SalesProvider.TABLE_PRODUCTS + "/" + id + "?" +
                    SalesProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        public static final String PRODUCTCATEGORY_ID = "sProductCategoryID";
        public static final String PRODUCT_ID = "sProductID";
        public static final String PRODUCT_NAME = "sProductName";
        public static final String PRODUCT_SORT = "iSort";
    }

    public static final class ProductShelfsColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + SalesProvider.AUTHORITY +
                "/" + SalesProvider.TABLE_PRODUCTSHELFS +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                SalesProvider.AUTHORITY + "/" + SalesProvider.TABLE_PRODUCTSHELFS +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + SalesProvider.AUTHORITY +
                    "/" + SalesProvider.TABLE_PRODUCTSHELFS + "/" + id + "?" +
                    SalesProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        public static final String CUSTOMER_ID = "sCustomerID";
        public static final String PRODUCTCATEGORY_ID = "sProductCategoryID";
        public static final String PRODUCTSHELF_COUNT = "iShelfCount";
        public static final String PRODUCTSHELF_LAYER = "iShelfLayer";
        public static final String PRODUCTSHELF_AREA = "iShelfArea";
        public static final String PRODUCTSHELF_TYPE = "sShelfType";
    }

    public static final class IntegrationStandardColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + SalesProvider.AUTHORITY +
                "/" + SalesProvider.TABLE_ISTANDARD +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                SalesProvider.AUTHORITY + "/" + SalesProvider.TABLE_ISTANDARD +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + SalesProvider.AUTHORITY +
                    "/" + SalesProvider.TABLE_ISTANDARD + "/" + id + "?" +
                    SalesProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        public static final String ITEMNO = "iItemNo";
        public static final String ITEMDES = "sItemDescription";
        public static final String AREAID = "sAreaID";
        public static final String AREANAME = "sAreaName";
    }

    public static final class PusherInfoColumns implements BaseColumns
    {
        public static final Uri CONTENT_URI = Uri.parse("content://" + SalesProvider.AUTHORITY +
                "/" + SalesProvider.TABLE_PUSHERINFO +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=true");

        public static final Uri CONTENT_URI_NO_NOTIFICATION = Uri.parse("content://" +
                SalesProvider.AUTHORITY + "/" + SalesProvider.TABLE_PUSHERINFO +
                "?" + SalesProvider.PARAMETER_NOTIFY + "=false");

        public static Uri getContentUri(long id, boolean notify) {
            return Uri.parse("content://" + SalesProvider.AUTHORITY +
                    "/" + SalesProvider.TABLE_PUSHERINFO + "/" + id + "?" +
                    SalesProvider.PARAMETER_NOTIFY + "=" + notify);
        }

        public static final String STOREID = "sCustomerID";
        public static final String ESID = "iEmployeeSId";
        public static final String ESNAME = "sEmployeeName";
        public static final String ESC = "sEmployeeCategory";
        public static final String ACD = "sAccreditCategoryDescription";
        public static final String RDATA = "dRegisterDate";
        public static final String MOBILE = "sMobile";
    }
}
